package com.ponhu.ea2.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Wang
 * @date 2021/12/10 5:48 下午
 */
@ApiModel("选品列表对象")
@Data
@Accessors(chain = true)
public class PickInventoryVo implements Serializable {
    private static final long serialVersionUID = 686711947346008790L;

    @JsonIgnore
    private Long categoryId;
    @JsonIgnore
    private Long brandId;

    @ApiModelProperty("物料ID")
    private Long materialId;
    @ApiModelProperty("物料编码")
    private String materialCode;
    @ApiModelProperty("物料名称")
    private String materialName;
    @ApiModelProperty("系列名称")
    private String seriesName;
    @ApiModelProperty("型号名称")
    private String modelName;
    @ApiModelProperty("货品ID")
    private Long inventoryId;
    @ApiModelProperty("货品编码")
    private String inventoryCode;
    @ApiModelProperty("货品名称")
    private String inventoryName;

    @ApiModelProperty("品牌中文名称")
    private String brandCnName;
    @ApiModelProperty("品牌英文名称")
    private String brandEnName;
    @ApiModelProperty(value = "品类名称")
    private String categoryName;

    @ApiModelProperty("主图")
    private String mainImage;
    @ApiModelProperty("细节图")
    private String detailImage;
    @ApiModelProperty(value = "中检状态：1未中检，2中检已通过，3中检未通过")
    private Integer ccicStatus;
    @ApiModelProperty("1二奢，2标品")
    private Integer isSecondhand;
    @ApiModelProperty("成色值")
    private String qualityValue;
    @ApiModelProperty("货品成本")
    private BigDecimal inventoryCost;
    @ApiModelProperty("入库价")
    private BigDecimal warehousePrice;
    @ApiModelProperty("含税销售价")
    private BigDecimal saleTaxPrice;
    @ApiModelProperty("含税供货价")
    private BigDecimal supplyTaxPrice;
    @ApiModelProperty("养护价")
    private BigDecimal maintenancePrice;
    @ApiModelProperty("可售数")
    private Integer totalSalesStockNum;
    @ApiModelProperty("实物数")
    private Integer totalRealStockNum;
    @ApiModelProperty("调拨在途数")
    private Integer freeStockNum;
    @ApiModelProperty("仓库位置")
    private String warehousePlace;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("属性数据")
    private List<PhPropertyVo> propertyVoList;
    @ApiModelProperty("附件数据")
    private List<String> annexStringList;
    @ApiModelProperty("配件数据")
    private List<String> accessoryStringList;

    @ApiModelProperty("备注")
    private String remarks;

}
